<div id="cms">
<table class="table">
	<tr>
		<th width=70">Datum</th>
		<th width="">Titel</th>
		<th width="160">Inhalt</th>
		<th width="160">Erstellt von</th>
		<th width="160">Erstellt Am</th>
		<th width="70">Bearbeiten</th>
	</tr>
	
{foreach from=$PressArchive_List item=a name=fe}
	<tr{if $smarty.get.markid==$a->pkPressArchive || $smarty.foreach.fe.first || $smarty.foreach.fe.last} class="{if $smarty.get.markid==$a->pkPressArchive}marked{/if}{if $smarty.foreach.fe.first} first{/if}"{/if}>

		<td>{$a->date|date_format:"%d.%m.%Y"}</td>
		<td><a href="{$Sys_CurrentPageURL}&amp;method=form&amp;pkPressArchive={$a->pkPressArchive}">{$a->title|truncate:100:"...":true}</a></td>
		<td>{$a->content|truncate:20:"...":true}</td>
		<td>{$a->createUserName}</td>
		<td>{$a->createDate|date_format:"%d.%m.%Y um %H:%M:%S"}</td>
		<td>
			{html_linkbutton icon="write.png" text="Bearbeiten" link="$Sys_CurrentPageURL&amp;method=form&pkPressArchive=" addlink=$a->pkPressArchive type="icon" size="20" enabled=$a->canUpdate()}
			{html_linkbutton icon="delete.png" text="L&ouml;schen" link="$Sys_CurrentPageURL&amp;method=delete&pkPressArchive=" addlink=$a->pkPressArchive type="icon" size="20" enabled=$a->canDelete()}
		</td>
	</tr>		
{/foreach}
</table>
</div>